package com.zs.toolbox.web2j.common.exception;

import com.zs.toolbox.web2j.common.response.WtBaseResponse;

/**
 * @author: hxy
 * @date: 2017/10/24 10:16
 */
public class WtResponses {
    static final public WtBaseResponse SUCCESS = new WtBaseResponse();
    static final public WtBaseResponse E_INTER = new WtBaseResponse(400, "内部错误");
    static final public WtBaseResponse E_PARAM = new WtBaseResponse(90003, "缺少必填参数/或参数错误");
    static final public WtBaseResponse E_PATH = new WtBaseResponse(500, "请求方式有误");
    static final public WtBaseResponse E_AUTH = new WtBaseResponse(403, "权限不足");
    static final public WtBaseResponse E_LOGIN = new WtBaseResponse(502, "用户名/密码不正确");
    static final public WtBaseResponse E_LOGIN_EXPIRED = new WtBaseResponse(20011, "登陆已过期,请重新登陆");
}
